//
//  Account.m
//  Seizure
//
//  Created by student on 2/21/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "Account.h"

@implementation Account

@synthesize name;
@synthesize email;
@synthesize isPatient;
@synthesize apnsKey;
@synthesize sensitivity;

-(id) initWithName:(NSString*)lname
             email:(NSString*)lemail
         isPatient:(Boolean)patient
           apnsKey:(NSString*)lapnsKey
       sensitivity:(NSNumber*)lsensitivity{
    if (self = [super init]){
        [self setName:lname];
        [self setEmail:lemail];
        [self setIsPatient:patient];
        [self setApnsKey:lapnsKey];
        [self setSensitivity:lsensitivity];
    }
    return self;
}


@end
